package com.isoft.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {
    @ExcelProperty(value = "学号",index = 0)
    @ColumnWidth(15)
    private String sno;

    @ColumnWidth(15)
    @ExcelProperty(value = "姓名",index = 1)
    private String sname;

    @ColumnWidth(18)
    @ExcelProperty(value = "出生年月",index = 2)
    private Date birthday;
}
